<!DOCTYPE html>
<html lang="en">
  <head>
    <title>RAMTextField Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Class/RAMTextField" class="dashAnchor"></a>
    <a title="RAMTextField Class Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">RAMReel Docs</a> (96% documented)</p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">RAMReel Reference</a>
        <img id="carat" src="../img/carat.png" />
        RAMTextField Class Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/CollectionViewWrapper.html">CollectionViewWrapper</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMCell.html">RAMCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMReel.html">RAMReel</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMTextField.html">RAMTextField</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions/String.html">String</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UIImage.html">UIImage</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UITextField.html">UITextField</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Functions.html">Functions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Functions/*&gt;(_:_:).html">*&gt;(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="../Functions/&lt;&amp;&gt;(_:_:).html">&lt;&amp;&gt;(_:_:)</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/ConfigurableCell.html">ConfigurableCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/FlowDataDestination.html">FlowDataDestination</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/FlowDataSource.html">FlowDataSource</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/Parsable.html">Parsable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/Renderable.html">Renderable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/Theme.html">Theme</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Structs.html">Structs</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Structs.html#/s:V7RAMReel8DataFlow">DataFlow</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/RAMTheme.html">RAMTheme</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/SimplePrefixQueryDataSource.html">SimplePrefixQueryDataSource</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs.html#/s:V7RAMReel16TextFieldReactor">TextFieldReactor</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>RAMTextField</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">RAMTextField</span><span class="p">:</span> <span class="kt">UITextField</span></code></pre>

                </div>
              </div>
            <p><a href='#ramtextfield' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='ramtextfield'>RAMTextField</h2></p>

<p>Textfield with a line in the bottom</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC7RAMReel12RAMTextField8drawRectFVSC6CGRectT_"></a>
                    <a name="//apple_ref/swift/Method/drawRect(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC7RAMReel12RAMTextField8drawRectFVSC6CGRectT_">drawRect(_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Overriding UIView&rsquo;s drawRect method to add line in the bottom of the Text Field</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="k">override</span> <span class="kd">public</span> <span class="kd">func</span> <span class="nf">drawRect</span><span class="p">(</span><span class="nv">rect</span><span class="p">:</span> <span class="kt">CGRect</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>rect</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Rect that should be updated. This override ignores this parameter and redraws all text field</p>

                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2016 <a class="link" href="https://github.com/Ramotion/reel-search" target="_blank" rel="external">Mikhail Stepkin, Ramotion Inc.</a>. All rights reserved. (Last updated: 2016-05-30)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.6.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
